package springbook.user.dao;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;

public class ConnectionMakerForMSSQL implements IConnectionMaker{
	public Connection getConnection() throws ClassNotFoundException, SQLException{
		Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");
		return DriverManager.getConnection(
				"jdbc:sqlserver://192.168.2.14:1433;database=TEST",
				"sa",
				"kfpp123");
	}
}
